Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NGraphLayoutBase<T> Class / CreateRegions Method
objects, which to split into regions
layout context


In This Topic
    CreateRegions Method (NGraphLayoutBase<T>)
    In This Topic
    Called to create the regions from the specified list of objects
    Syntax
    'Declaration
     
    
    Protected MustOverride Function CreateRegions( _
       ByVal objects As NList(Of Object), _
       ByVal context As NLayoutContext _
    ) As NList(Of T)
    'Usage
     
    
    Dim instance As NGraphLayoutBase(Of T)
    Dim objects As NList(Of Object)
    Dim context As NLayoutContext
    Dim value As NList(Of T)
     
    value = instance.CreateRegions(objects, context)
    protected abstract NList<T> CreateRegions( 
       NList<object> objects,
       NLayoutContext context
    )

    Parameters

    objects
    objects, which to split into regions
    context
    layout context

    Return Value

    list of the regions
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also